﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HRM.DAL;
using HRM.Entity;

namespace HRM.BIZ
{
    public class RelationshipStatusTypeBiz: BaseBiz
    {
        public List<RelationshipStatusType> GetAll()
        {
            return new RelationshipStatusTypeDAL().GetAll();
        }

        public RelationshipStatusType GetByID(int ID)
        {
            return new RelationshipStatusTypeDAL().GetByID(ID);
        }

        public RelationshipStatusType Add(RelationshipStatusType item)
        {
            return new RelationshipStatusTypeDAL().Add(item);
        }

        public RelationshipStatusType Update(RelationshipStatusType item)
        {
            return new RelationshipStatusTypeDAL().Update(item);
        }

        public void Delete(int ID)
        {
            new RelationshipStatusTypeDAL().Delete(ID);
        }
    }
}
